package com.htc.dao;

import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Select;

import com.htc.model.ShoppingCar;


public interface ShoppingMapper{

	@Select("select * from shoppingcar where uid=#{uid}")
	public ShoppingCar findCart(int uid);
	
	@Insert("insert into shoppingcar(uid) values(#{uid})")
	public int saveCar(int uid);

}
